package com.robot.common.enums;

/**
 *
 * @author yangyu
 * @date 2023/7/11
 */
public enum TimeTypeEnum {
    YEAR("year", "年","%Y"),
    MONTH("month", "月","%Y-%m"),
    DATE("date", "日","%Y-%m-%d"),
    WEEK("week", "周","");


    private String value;
    private String descS;
    private String real;

    TimeTypeEnum(String value, String descS, String real) {
        this.value = value;
        this.descS = descS;
        this.real=real;
    }


    public String  getCode() {
        return value;
    }


    public String getMessage() {
        return descS;
    }

    public String getReal(){
        return real;
    }



}
